<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------

// 应用行为扩展定义文件
return [
    //行为测试
    //应用模块安装
    'plugin_install_hook'   => [
        'app\\common\\behavior\\PluginInstallHook',
    ],
    //应用模块卸载
    'plugin_unInstall_hook' => [
        'app\\common\\behavior\\PluginUnInstallHook',
    ],
    //应用模块更新
    'plugin_update_hook'    => [
        'app\\common\\behavior\\PluginUndateHook',
    ],
    //应用模块安装检测
    'plugin_testing_hook'   => [
        'app\\common\\behavior\\PluginTestingHook',
    ],
    //应用模块菜单列表
    'plugin_menulist_hook'  => [
        'app\\common\\behavior\\pluginMenulistHook',
    ],

    // 应用初始化
    'app_init'              => [
        'cmf\\behavior\\InitHookBehavior',

    ],
    // 应用开始
    'app_begin'             => [
        'cmf\\behavior\\LangBehavior',
        'app\\common\\behavior\\CronRun',
    ],
    // 模块初始化
    'module_init'           => [],
    // 操作开始执行
    'action_begin'          => [],
    // 视图内容过滤
    'view_filter'           => [],
    // 日志写入
    'log_write'             => [
        
    ],
    'response_resulut'      => [
        'app\\common\\behavior\\AppEnd',
    ],
    // 应用结束
    'app_end'               => [
        
    ],
    'response_end'          => [
        
    ],
    // 应用开始
    'admin_init'            => [
        'cmf\\behavior\\AdminLangBehavior',
    ],
    'home_init'             => [
        'cmf\\behavior\\HomeLangBehavior',
    ],
    //清除缓存时
    'clear_custom_data'     => [
        'app\\common\\behavior\\ClearCustomData',
    ],
    //添加提醒
    'add_remind'            => [
        'app\\common\\behavior\\AddRemind',
    ],
];
